package com.pojo;

import java.sql.Date;
import java.sql.Time;
import java.time.DateTimeException;

public class Sub {
	private String Tid;
	private String SId;
	private String UId;
	private String theme;
	private String titlel;
	private String contant;
	private String img;
	private Date time;
	private Integer reply;
	
	
	
	
	

	public Sub(String sId,String uId, String img, String theme, String titlel, String contant, Date time, int reply 
			) {
		super();
		SId = sId;
		UId = uId;
		this.img = img;
		this.theme = theme;
		this.titlel = titlel;
		this.contant = contant;
		this.time = time;
		this.reply=reply;
	}
	

	public Sub(String sId, String uId, String theme, String titlel, String contant, String img, Date time) {
		super();
		SId = sId;
		UId = uId;
		this.theme = theme;
		this.titlel = titlel;
		this.contant = contant;
		this.img = img;
		this.time = time;
	}

	public Sub(String sId, String uId, String theme, String titlel, Date time) {
		super();
		SId = sId;
		UId = uId;
		this.theme = theme;
		this.titlel = titlel;
		this.time = time;
	}




	public String getTid() {
		return Tid;
	}


	public void setTid(String tid) {
		Tid = tid;
	}


	public String getTitlel() {
		return titlel;
	}
	public void setTitlel(String titlel) {
		this.titlel = titlel;
	}
	public String getSId() {
		return SId;
	}
	public void setSId(String sId) {
		SId = sId;
	}
	public String getUId() {
		return UId;
	}
	public void setUId(String uId) {
		UId = uId;
	}
	public String getTheme() {
		return theme;
	}
	public void setTheme(String theme) {
		this.theme = theme;
	}
	public String getContant() {
		return contant;
	}
	public void setContant(String contant) {
		this.contant = contant;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public Integer getReply() {
		return reply;
	}
	public void setReply(Integer reply) {
		this.reply = reply;
	}
}
